package org.cwnuit.train.service;

import java.util.List;

import org.cwnuit.train.dao.LearnDAO;
import org.cwnuit.train.domain.Learns;
public class LearnService {
	
	LearnDAO learnDAO = new LearnDAO();

	//添加學習情況信息
	public boolean addLearn(String SQL) {
		return learnDAO.addLearn(SQL);
	}
	
	//修改學習情況信息
	public boolean updateLearn(String SQL) {
		return learnDAO.updateLearn(SQL);
	}
	
	//删除學習情況信息
	public boolean deleteLearn(String SQL) {
		return learnDAO.deleteLearn(SQL);
	}

	//查询學習情況信息
	public Learns findLearn(String SQL) {
		return learnDAO.findLearn(SQL);
	}
	
	//查询學習情況信息
	public List<Learns> findLearns(String SQL) {
		return learnDAO.findLearns(SQL);
	}
}
